[?php use_helper("Javascript", "Window"); ?]
[?php
 $tabs = sfContext::getInstance()->getRequest()->getParameter('tabs', null);
 $params_tabs = "";
 $div_update = "div_panel_contenido";
  if($tabs != null)
 { 
   $params_tabs = "tabs=tabs";
 }
 ?]

<?php if ($this->getParameterValue('list.object_actions')): ?>
<td>
<ul class="sf_admin_td_actions">
<?php foreach ($this->getParameterValue('list.object_actions') as $actionName => $params): ?>
<?php if( in_array( $actionName, array('_edit'))): ?>
  <?php echo $this->addCredentialCondition($this->getLinkToActionWindowAjax($actionName, $params, true), $params) ?>
<?php else: ?> 
  <?php echo $this->addCredentialCondition($this->getLinkToActionAjax($actionName, $params, true), $params) ?>
<?php endif; ?> 
<?php endforeach; ?>
</ul>
</td>
<?php endif; ?> 
